package com.ktjiaoyu.t313.service;

import com.ktjiaoyu.t313.dao.SysRoleDao;
import com.ktjiaoyu.t313.pojo.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("roleService")
public class RoleServiceImpl implements RoleService {

    @Autowired
    private SysRoleDao roleDao;

    @Override
    public List<SysRole> getRoleList() {

        return roleDao.getList();
    }
}
